- 
		Home
	
 
	- 
Rest Routes – Custom Endpoints for WordPress REST API
 
- 
5.5.5 (latest)
 
- 
Code
 
- 
Classes
 
-  Endpoint 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											44 | 
										
																			
											| Dependencies | 
											0 | 
										
																			
											| Dependents | 
											6 | 
										
																	
							 
													
								
																			
											| Total lines | 
											273 | 
										
																			
											| Lines of code | 
											146 | 
										
																			
											| Logical lines of code | 
											58 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											0 | 
										
																			
											| Methods | 
											44 | 
										
																			
											| Properties | 
											22 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 44
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| getEditUsers() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setEditUsers() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getCreateUsers() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setCreateUsers() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getDisplayUsers() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setDisplayUsers() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getEditCustomTable() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setEditCustomTable() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getDeleteCustomTable() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setDeleteCustomTable() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getCreateCustomTable() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setCreateCustomTable() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getEditPost() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setEditPost() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getDisplayCustomTable() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setDisplayCustomTable() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getDisplayTaxonomies() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setDisplayTaxonomies() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| setCreateTaxonomies() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getCreateTaxonomies() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| getEnabled() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setEnabled() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getDisplayData() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setDisplayData() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| getCreatePost() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setCreatePost() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| getAction() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setAction() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| getPermissionCallback() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setPermissionCallback() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| getParameters() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setParameters() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| getCapability() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setCapability() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| getMethod() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setMethod() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| getCallback() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setCallback() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| getEditTaxonomies() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setEditTaxonomies() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getRestApiCall() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setRestApiCall() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getCustomSQLQuery() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setCustomSQLQuery() | 
									S  | 
																	77 | 
													1 | 
													4 |